package com.xjrsoft.module.customerTwo.AppManage.service_contract.service;

import com.xjrsoft.module.customerTwo.AppManage.service_contract.entity.ServiceContract;
import com.xjrsoft.module.customerTwo.AppManage.service_contract.dto.ServiceContractListDto;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 *  服务类
 *
 * @author lisen
 * @since 2024-04-25
 */
public interface IServiceContractService extends IService<ServiceContract> {
	/**
	 * 自定义分页
	 *
	 * @param pageListDto
	 * @return
	 */
	IPage<ServiceContract> getPageList(ServiceContractListDto pageListDto);
	Integer addServiceContract(ServiceContract serviceContract);

	boolean updateServiceContract(String id, ServiceContract serviceContract);

	boolean delete(String ids);
}
